using System.ComponentModel.DataAnnotations;

namespace WorkFlowCore.BusinessDemo.Web.Models
{
    public class RoleCreateViewModel
    {
        [Required]
        [StringLength(50)]
        [Display(Name = "角色编号")]
        public string Code { get; set; }

        [Required]
        [Display(Name = "角色名称")]
        public string Name { get; set; }
    }
}
